import request from '../utils/request.js';


// 水果收藏
export const Favorite = (fruitId) => {
    return request.post(`/api/favorite/toggle?fruitId=${fruitId}`);
};


//收藏列表

export const FavoriteList= () => {
    return request.get('/api/favorite/list');
};